package com.whfc.fse.dao;

import com.whfc.fse.entity.FseResumeAttach;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FseResumeAttachMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FseResumeAttach record);

    int insertSelective(FseResumeAttach record);

    FseResumeAttach selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FseResumeAttach record);

    int updateByPrimaryKey(FseResumeAttach record);

    /**
     * 软删除
     *
     * @param resumeId
     */
    void del(Integer resumeId);


    /**
     * 批量添加
     *
     * @param resumeId
     * @param attachUrls
     */
    void insertAll(@Param("resumeId") Integer resumeId, @Param("attachUrls") List<String> attachUrls);

    /**
     * 查询图片
     *
     * @param resumeId
     * @return
     */
    List<String> selectUrlByResumeId(Integer resumeId);
}